/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.sive.managed;

import cr.ac.una.sive.entidad.VehiculoLocal;
import cr.ac.una.sive.sessionbean.VehiculoFacadeLocal;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;


@ManagedBean
@RequestScoped
public class VehiculoFacadeManaged {
    
    @EJB(mappedName = "ejb/VehiculoFacade")
    private VehiculoFacadeLocal vehiculoFacade;
    
    private VehiculoLocal vehiculoLocal = new VehiculoLocal();

    public void setVehiculoLocal(VehiculoLocal vehiculoLocal) {
        this.vehiculoLocal = vehiculoLocal;
    }

    public VehiculoLocal getVehiculoLocal() {
        return vehiculoLocal;
    }
    /**
     * Creates a new instance of VehiculoFacadeManaged
     */
    public VehiculoFacadeManaged() {
    }
}
